package com.jmp.api.admin.dto;

import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

import java.util.List;

/**
 * @author cjr
 */
@Data
@Builder
public class ArticleListResponse {
    private PageResponse2<Article> articles;

    private List<Label> labelList;

    @Data
    @Builder
    public static class Article {
        private Integer id;
        private String title;
        private String shareCard;
        private String auditTime;
        private String labels;
        private Integer status;
        private Integer position;
        private Integer forwardCount;
        private Integer viewCount;
    }

    @Data
    @Builder
    public static class Label {
        private Integer id;
        private String name;
    }
}
